#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int is_leap_year(int a)
{
	if ((a % 4 == 0 && a % 100 !=0)|| (a % 400 == 0))
		return 1;
	return 0;


}

int main()
{
	int y = 0;
	scanf("%d", &y);
	if (is_leap_year(y))
	{
		printf("yes");

	}
	else printf("no");
	
	}





























